package com.chun.analyzation.controller;

import com.chun.analyzation.service.AnalyzeService;
import com.our.learning.infrastructure.pojo.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AnalyzeController {

/*    @Autowired
    private final AnalyzeService analyzeService;

    public AnalyzeController(AnalyzeService analyzeService) {
        this.analyzeService = analyzeService;
    }

    @RequestMapping("/generatewrongreport")
    public ResponseResult generateWrongReport(@PathVariable Integer stuid,@PathVariable Integer paperid){
        return analyzeService.generateWrongReport(stuid,paperid);
    }

    @GetMapping("/getwrongreport")
    public ResponseResult getWrongReport(@PathVariable Integer stuid,@PathVariable Integer paperid){
        return analyzeService.getWrongReport(stuid,paperid);
    }*/
}
